ChartTransactionElement

StockSharp.Xaml.Charting

描述"命令"或"交易"图表元素的基类.

继承自: ChartElement<T>

实现: IUltrachartPrimitive, IChartElementEx, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IAsyncPersistable, IChartTransactionElement

构造函数

ChartTransactionElement
protected ChartTransactionElement()
chartTransactionElement = ChartTransactionElement()

Initialize ChartTransactionElement.

属性

BuyColor
public Color BuyColor { get; set; }
value = chartTransactionElement.BuyColor
chartTransactionElement.BuyColor = value

图表上的图形元素颜色, 表示购买 。

BuyStrokeColor
public Color BuyStrokeColor { get; set; }
value = chartTransactionElement.BuyStrokeColor
chartTransactionElement.BuyStrokeColor = value

图表上图形元素的边框颜色,表示购买.

DrawSize
public double DrawSize { get; set; }
value = chartTransactionElement.DrawSize
chartTransactionElement.DrawSize = value

画出大小.

SellColor
public Color SellColor { get; set; }
value = chartTransactionElement.SellColor
chartTransactionElement.SellColor = value

图表上图形元素的颜色,表示销售量。

SellStrokeColor
public Color SellStrokeColor { get; set; }
value = chartTransactionElement.SellStrokeColor
chartTransactionElement.SellStrokeColor = value

图表上图形元素的边框颜色,表示销售.

Title
public string Title { get; set; }
value = chartTransactionElement.Title
chartTransactionElement.Title = value

图表上显示的系列标题。

UseAltIcon
public bool UseAltIcon { get; set; }
value = chartTransactionElement.UseAltIcon
chartTransactionElement.UseAltIcon = value

使用替代图标 。

方法

CopyTo
internal override T CopyTo(T elem)
result = chartTransactionElement.CopyTo(elem)

复制消息到 。

elem
Copy.

返回值: Copy.

GetGeneratedTitle
protected override string GetGeneratedTitle()
result = chartTransactionElement.GetGeneratedTitle()

获得生成的标题 。

返回值: 自动生成图表元素标题 。

LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartTransactionElement.LoadAsync(storage, cancellationToken)

Asynchronously loads the state of the object from the specified SettingsStorage.

storage
The SettingsStorage instance from which to load the data.
cancellationToken
A token to monitor for cancellation requests.

返回值: A task that represents the asynchronous load operation.

SaveAsync
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartTransactionElement.SaveAsync(storage, cancellationToken)

Asynchronously saves the state of the object to the specified SettingsStorage.

storage
The SettingsStorage instance to which to save the data.
cancellationToken
A token to monitor for cancellation requests.

返回值: A task that represents the asynchronous save operation.